export function getToken (){
    return localStorage.getItem('token')
}
export function setToken (token){
// 保存token到localStorage,同时存一份到vuex中，需要拿token时从vuex中拿
    localStorage.setItem('token', token);
}
export function removeToken (){
    localStorage.removeItem('token');
}
